/**
 * Copyright © 2013 Creativor Studio.
 * About license information, please see LICENSE.txt.
 */
package org.creativor.rayson.client.transport.http;

import org.creativor.rayson.share.annotation.NotNull;
import org.creativor.rayson.share.transport.ByteArrayBuffer;
import org.creativor.rayson.share.transport.http.AbstractHttpMessage;
import org.creativor.rayson.share.transport.http.ExtendedHttpHeaders;
import org.creativor.rayson.share.transport.http.HttpResponse;
import org.creativor.rayson.share.transport.http.HttpStatusLine;

/**
 * Client side implement of {@link HttpResponse}.
 * 
 * @author creativor
 */
public class ClientHttpResponse extends AbstractHttpMessage implements
		HttpResponse {

	/**
	 * @param extendedHttpHeaders
	 */
	public ClientHttpResponse(@NotNull final ExtendedHttpHeaders httpHeaders) {
		super(httpHeaders);
		httpHeaders.setMessage(this);
	}

	@Override
	public HttpStatusLine getStartLine() {
		return null;
	}

	@Override
	public void writeTo(final ByteArrayBuffer buffer) {
		// TODO Auto-generated method stub

	}
}